#!/usr/bin/python3.8.9
# -*- coding: utf-8 -*-

# @Author  : Tina Yu
# @Time    : 2022-1-8 16:45
from faker import Faker


# 一些mock测试数据
class GenerateInfo:
    fake = Faker(locale='zh_CN')

    @classmethod
    def get_user_name(cls):
        """
        生成姓名
        :return: 姓名
        """
        return cls.fake.name()

    @classmethod
    def get_phone_num(cls):
        """
        生成电话号码
        :return: 电话号码
        """
        return cls.fake.phone_number()
